range: Draw the colorscale trough at 0,0
authorTimm Bäder <mail@baedert.org>
Mon, 8 May 2017 15:17:27 +0000 (17:17 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:12 +0000 (21:27 -0400)
gtk/gtkrange.c

index 34dfcb7107e35fa022aab4418f1e976cb29037b7..026479e67ac0435a7c664100ddeb50364f0fedac 100644 (file)
@@ -1729,7 +1729,7 @@ gtk_range_render_trough (GtkGizmo    *gizmo,
    */
   if (GTK_IS_COLOR_SCALE (widget))
     gtk_color_scale_snapshot_trough (GTK_COLOR_SCALE (widget), snapshot,
-                                     alloc.x, alloc.y, alloc.width, alloc.height);
+                                     0, 0, alloc.width, alloc.height);
 
   if (priv->show_fill_level &&
       gtk_adjustment_get_upper (priv->adjustment) - gtk_adjustment_get_page_size (priv->adjustment) -